<!DOCTYPE html>
<html  lang="en">
<head>
    <meta charset="utf-8">
<title>网络部署需求分析 - noback</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />



    <meta name="description" content="网络部署需求分析后面需要根据tower给出的内容对网络环境，机器上架规划内容由于tower中给出的大部分都是纸上信息，这里做几个例子进行一下总结 凡是没有提到2层或者3层需求的，都按照3层需求来处理 自动生成汇聚端口配置import os import json  # 指定端口类型  有些做过堆叠的交换机 MemberID是不同的 port_type &#x3D; &quot;1&quot;  for i">
<meta property="og:type" content="article">
<meta property="og:title" content="网络部署需求分析">
<meta property="og:url" content="http://alpaca-h.gitee.io/2020/01/04/blog_back_new/%E7%BD%91%E7%BB%9C/%E7%BD%91%E7%BB%9C%E9%83%A8%E7%BD%B2%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90/index.html">
<meta property="og:site_name" content="noback">
<meta property="og:description" content="网络部署需求分析后面需要根据tower给出的内容对网络环境，机器上架规划内容由于tower中给出的大部分都是纸上信息，这里做几个例子进行一下总结 凡是没有提到2层或者3层需求的，都按照3层需求来处理 自动生成汇聚端口配置import os import json  # 指定端口类型  有些做过堆叠的交换机 MemberID是不同的 port_type &#x3D; &quot;1&quot;  for i">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="http://alpaca-h.gitee.io/images/og_image.png">
<meta property="article:published_time" content="2020-01-04T02:22:09.000Z">
<meta property="article:modified_time" content="2020-01-07T03:28:19.515Z">
<meta property="article:author" content="Alpaca">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://alpaca-h.gitee.io/images/og_image.png">







<link rel="icon" href="/images/favicon.svg">


<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.7.2/css/bulma.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu:400,600|Source+Code+Pro">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@9.12.0/styles/androidstudio.css">


    
    
    
    <style>body>.footer,body>.navbar,body>.section{opacity:0}</style>
    

    
    
    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lightgallery@1.6.8/dist/css/lightgallery.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/css/justifiedGallery.min.css">
    

    
    

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/outdatedbrowser@1.1.5/outdatedbrowser/outdatedbrowser.min.css">


    
    
    
    

<link rel="stylesheet" href="/css/back-to-top.css">


    
    

    
    
    
    

    
    
<link rel="stylesheet" href="/css/progressbar.css">
<script src="https://cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script>

    
    
    

    
    
    
        <script async="" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    

    


<link rel="stylesheet" href="/css/style.css">
<meta name="generator" content="Hexo 4.2.0"><link rel="alternate" href="/atom.xml" title="noback" type="application/atom+xml">
</head>
<body class="is-3-column">
    <nav class="navbar navbar-main">
    <div class="container">
        <div class="navbar-brand is-flex-center">
            <a class="navbar-item navbar-logo" href="/">
            
                <img src="/images/logo.svg" alt="网络部署需求分析" height="28">
            
            </a>
        </div>
        <div class="navbar-menu">
            
            <div class="navbar-start">
                
                <a class="navbar-item"
                href="/">Home</a>
                
                <a class="navbar-item"
                href="/archives/">Archives</a>
                
                <a class="navbar-item"
                href="/categories/">Categories</a>
                
                <a class="navbar-item"
                href="/tags/">Tags</a>
                
                <a class="navbar-item"
                href="/about/">About</a>
                
            </div>
            
            <div class="navbar-end">
                
                    
                    
                    <a class="navbar-item" target="_blank" title="AlphaLxy GitHub" href="https://www.github.com/AlphaLxy">
                        
                        <i class="fab fa-github"></i>
                        
                    </a>
                    
                
                
                <a class="navbar-item is-hidden-tablet catalogue" title="Catalogue" href="javascript:;">
                    <i class="fas fa-list-ul"></i>
                </a>
                
                
                <a class="navbar-item search" title="Search" href="javascript:;">
                    <i class="fas fa-search"></i>
                </a>
                
            </div>
        </div>
    </div>
</nav>
    
    <section class="section">
        <div class="container">
            <div class="columns">
                <div class="column is-8-tablet is-8-desktop is-9-widescreen has-order-2 column-main"><div class="card">
    
    <div class="card-content article ">
        <h1 class="title is-size-3 is-size-4-mobile has-text-weight-normal">
            
                <i class="fas fa-angle-double-right"></i>网络部署需求分析
            
        </h1>
        
        <div class="level article-meta is-size-7 is-uppercase is-mobile is-overflow-x-auto">
            <div class="level-left">
                <time class="level-item has-text-grey" datetime="2020-01-04T02:22:09.000Z"><i class="far fa-calendar-alt">&nbsp;</i>2020-01-04</time>
                
                <time class="level-item has-text-grey is-hidden-mobile" datetime="2020-01-07T03:28:19.515Z"><i class="far fa-calendar-check">&nbsp;</i>2020-01-07</time>
                
                
                <div class="level-item">
                <i class="far fa-folder-open has-text-grey"></i>&nbsp;
                <a class="has-link-grey -link" href="/categories/blog-back-new/">blog_back_new</a>&nbsp;/&nbsp;<a class="has-link-grey -link" href="/categories/blog-back-new/%E7%BD%91%E7%BB%9C/">网络</a>
                </div>
                
                
                <span class="level-item has-text-grey">
                    <i class="far fa-clock"></i>&nbsp;
                    
                    
                    12 minutes read (About 1751 words)
                </span>
                
                
                <span class="level-item has-text-grey" id="busuanzi_container_page_pv">
                    <i class="far fa-eye"></i>
                    <span id="busuanzi_value_page_pv">0</span> visits
                </span>
                
            </div>
        </div>
        
        <div class="content">
            <h1 id="网络部署需求分析"><a href="#网络部署需求分析" class="headerlink" title="网络部署需求分析"></a>网络部署需求分析</h1><p>后面需要根据tower给出的内容对网络环境，机器上架规划内容<br>由于tower中给出的大部分都是纸上信息，这里做几个例子进行一下总结</p>
<p><font color='blue'>凡是没有提到2层或者3层需求的，都按照3层需求来处理</font></p>
<h2 id="自动生成汇聚端口配置"><a href="#自动生成汇聚端口配置" class="headerlink" title="自动生成汇聚端口配置"></a>自动生成汇聚端口配置</h2><pre><code class="py">import os
import json

# 指定端口类型  有些做过堆叠的交换机 MemberID是不同的
port_type = &quot;1&quot;

for i in range(1,16):
    print(&quot;interface bridge-aggregation %s&quot;%i)
    print(&quot;interface GigabitEthernet%s/0/%s&quot;%(port_type,int(i*2-1)))
    print(&quot;port link-aggregation group %s&quot;%i)
    print(&quot;interface GigabitEthernet%s/0/%s&quot;%(port_type,int(i*2)))
    print(&quot;port link-aggregation group %s&quot;%i)


## REANME.md
##交换机的配置需要批量配置管理端口
##用这个脚本生成就ok了</code></pre>
<h2 id="基础配置"><a href="#基础配置" class="headerlink" title="*****基础配置"></a>*****基础配置</h2><p>基础配置 二三层通用</p>
<pre><code class="bash"># 用户配置
local-user admin class manage
 service-type ssh
 authorization-attribute user-role level-3
 authorization-attribute user-role network-admin
 authorization-attribute user-role network-operator
#
local-user root class manage
 service-type ssh
 authorization-attribute user-role level-3
 authorization-attribute user-role network-admin
 authorization-attribute user-role network-operator

user-interface vty 0 4
authentication-mode scheme       
 user-role network-admin
protocol inbound all
quit

# 不显示版本信息
undo copyright-info enable

# 公钥导入
public-key peer pub
  public-key-code begin    
   30820122300D06092A864886F70D01010105000382010F003082010A0282010100D37D67EC
   5A9466CD38895097E74386EBBEFA9EC59236DF5E96D7514B2903C21F09C6D47D74792B5E3D
   C1F99DB4D43614AE3AD61DEFFAF35CED9B94DBD85DE174598C491FA043F8C700DA686BFFCA
   227E4E7417A251CD7590673B4C1A227962F65CBA6017329479484EF8FE48A8E2FED636C846
   5765801A0D62C821906FF8E7188DA69D716FD392E8C0D4D0618E9020670FFA24CF083E2EF7
   690EABCA43AA4341D798A72B6FFB5A0A1BEF0F4B14B6B66E5F7126582BD11A11F4220EA3FF
   C1A5DF36E86E76A8EF6A97949158F094CBAD09725069A090CBA36D95CB6A9531A5AB8B3ED5
   8D6C63C8138320F0F1ECD7B25203A1B79FC82635B0F53475BC428B3B741F0203010001
  public-key-code end
 peer-public-key end


public-key peer upyun
 public-key-code begin
   30820122300D06092A864886F70D01010105000382010F003082010A0282010100BEF4DB4E
   5224F5FFE95AF67CC1753592979F6C1379E0A1FB8519C0E6E626B50F221957806B64384173
   F2B370254381D583D3EC70D4211CC599CF6C1615754E985895D1E78E1E62788A9BC2E4D2EB
   55A18FD20D2B692813114C650FE4FC883DB5467039264C2478332C2C967F3DAE83AFBDFAB3
   D794F38DCB2E112184127A151741947DFBB00E8E66B9037131C54A27DE703B2E80A3D8D3C6
   79CFC9E851D9C76610228790D7E2253D7E7735481D2EA61AA71D6DFD2EAC037203CE08943E
   43DF88AC1ECCB77433358B5ABDF080616D6B6C40AEBEEEDD64D8B8718F091CAA0EA8D5A6A0
   2B6106D931E45717C94DBC0F3FF6608CB609C4DA4860C8C48EE67CB304470203010001
 public-key-code end
 peer-public-key end
# 用户公钥认证
ssh user admin service-type stelnet authentication-type publickey assign publickey pub
ssh user root service-type stelnet authentication-type publickey assign publickey upyun

# acl过滤
acl number 2000
description Login IP Control
rule 1 permit source 192.168.0.0 0.0.255.255
rule 5 permit source 115.238.93.82 0
rule 10 permit source 115.231.100.64 0.0.0.63
rule 15 permit source 121.52.226.192 0.0.0.63
rule 20 permit source 115.238.54.160 0.0.0.15
rule 25 permit source 124.160.114.192 0.0.0.15
rule 30 permit source 106.186.117.158 0.0.0.255
rule 35 permit source 157.119.232.0  0.0.0.31
rule 40 permit source 218.205.64.19 0.0.0.31
rule 45 permit source 112.17.251.0 0.0.0.31
rule 50 permit source 121.52.250.193 0.0.0.31
rule 55 permit source 183.131.0.65 0.0.0.31
rule 60 permit source 43.230.89.160 0.0.0.31
rule 65 permit source 111.1.32.0 0.0.0.127
rule 70 permit source 115.231.97.0 0.0.0.31
rule 1000 deny source any

quit
undo ip http enable

# ssh过滤
ssh server enable
ssh server acl 2000

# 接口过滤
user-interface vty 0 4
acl 2000 inbound

# snmp监控
snmp-agent
snmp-agent local-engineid 800063A203
snmp-agent community read hgE6ofdZ3b
snmp-agent sys-info version v2c v3 

# 机器时间同步
ntp-service unicast-server 218.189.210.4 source Vlan-interface 1
ntp-service unicast-server 137.189.4.10 source Vlan-interface 1
clock timezone beijing add 8

# 路由追踪
ip ttl-expires enable
ip unreachables enable
ipv6 unreachables enable</code></pre>
<h2 id="二层环路检测配置"><a href="#二层环路检测配置" class="headerlink" title="***二层环路检测配置"></a>***二层环路检测配置</h2><p>h3c 5130配置</p>
<pre><code class="bash">loopback-detection global enable vlan all
# 端口定时器
shutdown-interval 120 
# 环路检测报文发送周期
loopback-detection interval-time 5

# 接口内部配置
# 环路检测接口配置
loopback-detection action shutdown
loopback-detection enable vlan all</code></pre>
<p>h3c 5120配置</p>
<pre><code class="bash">loopback-detection multi-port-mode enable
loopback-detection enable
# 端口定时器
shutdown-interval 120 
# 环路检测报文发送周期
loopback-description interval-time 5
# 环路检测接口配置
loopback-detection action shutdown
loopback-detection enable vlan all</code></pre>
<h2 id="走二层与走三层的关系"><a href="#走二层与走三层的关系" class="headerlink" title="走二层与走三层的关系"></a>走二层与走三层的关系</h2><p>交换机的二三层决定取决于OSI模型 ，二层走数据链路层 三层在二层基础上添加网络层<br>另外交换机是否走三层，应该取决于网络的规划</p>
<p><font color='blue'>首先是二层</font><br>交换机走二层，路由在核心交换机上，不转发多网段的数据(Vlan)<br>数据走数据链路层<br>以上说明二层交换机不能跨网段传输信息，在划分vlan的情况下，只能走同vlan下的数据</p>
<p><font color='red'>需要测试</font></p>
<pre><code class="bash"># 在同vlan下，不通网段ip需要默认路由？

# 在同vlan下，同网段ip不需要默认路由？  

# 静态路由的功能除了 规定流量转发还有什么？</code></pre>
<p>静态路由指向核心交换机上的网关</p>
<p><font color='blue'>其次是三层交换机</font><br>三层交换机就是在二层交换机的基础上加了路由功能，交换机走三层，路由在当前三层交换机上<br>三层交换机能转发多网段的数据,路由器转发数据是基于IP地址进行转发的！！而二层交换机是基于MAC地址转发的！！<br>让基于MAC地址转发的交换机实现基于IP地址转发  ===&gt; 三层交换机</p>
<p>三层交换机可以转发多网段的数据，不局限于同vlan下的数据转发，</p>
<p>静态路由指向网关</p>
<p>虽然三层交换机有路由功能，但不能完全取代路由器，基础原理不同</p>
<h3 id="二层架构于三层架构的区别"><a href="#二层架构于三层架构的区别" class="headerlink" title="二层架构于三层架构的区别"></a>二层架构于三层架构的区别</h3><p><a href="https://blog.51cto.com/fenggao/1582958" target="_blank" rel="noopener">https://blog.51cto.com/fenggao/1582958</a><br><a href="https://www.cnblogs.com/sunada2005/articles/2666902.html" target="_blank" rel="noopener">https://www.cnblogs.com/sunada2005/articles/2666902.html</a></p>
<h3 id="举例"><a href="#举例" class="headerlink" title="举例"></a>举例</h3><p>比如你现在有两台交换机 A  B<br>A 作为核心交换机<br>B 作为核心机下面的机器</p>
<p>要走二层的话，则同vlan走个静态就ok了</p>
<p>要走三层的话，也就是说B下面有多个网段的机器 两台机器的vlan是不需要相同的，三层交换机会动态配置</p>
<h2 id="福建厦门联通"><a href="#福建厦门联通" class="headerlink" title="福建厦门联通"></a>福建厦门联通</h2><p>CUN-FJ-XMN-S01<br><img src="http://img.noback.top/2020-01-02-11-23-28.png" alt="2020-01-02-11-23-28"><br>如图以上信息</p>
<pre><code class="bash">ip信息  36.248.208.224/27
机器信息 15台1U服务器  1台5130交换机(52口)  2个万兆多模  30根网线 16根电源线

--&gt;
--&gt;
--&gt;
也就是说 15台服务器每台2根网线  5130交换机前面30个电口做汇聚
interface bridge-aggregation 1
interface GigabitEthernet1/0/1
port link-aggregation group 1
interface GigabitEthernet1/0/2
port link-aggregation group 1
# 可以用脚本生成
两个万兆多模，交换机上联接入一个，上联一个</code></pre>
<h2 id="走二层"><a href="#走二层" class="headerlink" title="****走二层"></a>****走二层</h2><h3 id="不走vlan1-指定vlan-2250"><a href="#不走vlan1-指定vlan-2250" class="headerlink" title="不走vlan1 指定vlan 2250"></a>不走vlan1 指定vlan 2250</h3><pre><code class="bash"># 配置vlan2250
vlan 2250
int vlan-interface 2250
ip address 36.248.208.226 255.255.255.224
# 端口汇聚
interface bridge-aggregation 1
interface GigabitEthernet2/0/1
port link-aggregation group 1
interface GigabitEthernet2/0/2
port link-aggregation group 1
...
int range Bridge-Aggregation 1 to Bridge-Aggregation 15
port access vlan 2250
# 配置上联口
interface ten1/0/49
port link-type trunk # 接入trunk模式，对应trunk模式
undo port trunk permit vlan 1
port trunk permit vlan 2250
# 关闭端口stp生成树功能
int range g1/0/1 to g1/0/30 
undo stp enable

# 二层环路检测配置</code></pre>
<h2 id="四川成都联通"><a href="#四川成都联通" class="headerlink" title="四川成都联通"></a>四川成都联通</h2><p>CMN-SC-CTU4-S01<br><img src="http://img.noback.top/2020-01-02-11-24-20.png" alt="2020-01-02-11-24-20"><br>ZA-16030782    1 2 口<br>ZA-16030781    3 4 口<br>ZA-16031259    5 6 口<br>ZA-16031257    7 8 口<br>ZA-16030285    9 10 口<br>ZA-15041213    11 12 口<br>ZA-15041819    13 14 口<br>ZA-15041852    15 16 口<br>ZA-15070367    17 18 口<br>ZA-19010018    19 20 口</p>
<p>6300   47 48上联口</p>
<pre><code class="bash"># 走三层
10 台交换机 汇聚 走1-20口
 走47 48口 # 这个需要问，图里没给</code></pre>
<h3 id="走三层"><a href="#走三层" class="headerlink" title="*****走三层"></a>*****走三层</h3><pre><code class="bash"># 基础配置 复制粘贴
# 配置vlan 200 201
vlan 200
int vlan-interface 200
ip address 117.172.4.50 255.255.255.252
vlan 201 
int vlan-interface 201
ip address 117.172.4.54 255.255.255.252
vlan 1
int vlan-interface 1
ip address 117.172.22.129 255.255.255.224

# 配置静态路由
ip route-static 0.0.0.0 0 117.172.4.49
ip route-static 0.0.0.0 0 117.172.4.53

# 配置上联
int ten 1/0/47
port access vlan 200
int ten 1/0/49
port access vlan 201

# 二层环路检测配置</code></pre>

        </div>
        
            <ul class="post-copyright">
            <li><strong>本文标题：</strong><a href="http://alpaca-h.gitee.io/2020/01/04/blog_back_new/%E7%BD%91%E7%BB%9C/%E7%BD%91%E7%BB%9C%E9%83%A8%E7%BD%B2%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90/">网络部署需求分析</a></li>
            <li><strong>本文作者：</strong><a href="http://alpaca-h.gitee.io">Alpaca</a></li>
            <li><strong>本文链接：</strong><a href="http://alpaca-h.gitee.io/2020/01/04/blog_back_new/%E7%BD%91%E7%BB%9C/%E7%BD%91%E7%BB%9C%E9%83%A8%E7%BD%B2%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90/">http://alpaca-h.gitee.io/2020/01/04/blog_back_new/%E7%BD%91%E7%BB%9C/%E7%BD%91%E7%BB%9C%E9%83%A8%E7%BD%B2%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90/</a></li>
            <li><strong>发布时间：</strong>2020-01-04</li>
            <li><strong>版权声明：</strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" rel="external nofollow" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明出处！
            </li>
            </ul>
        
        
        
        
    </div>
</div>





<div class="card card-transparent">
    <div class="level post-navigation is-flex-wrap is-mobile">
        
        <div class="level-start">
            <a class="level level-item has-link-grey  article-nav-prev" href="/2020/01/05/blog_back_new/linux/linux%E7%BD%91%E7%BB%9C%E7%AE%A1%E7%90%86/netstat/">
                <i class="level-item fas fa-chevron-left"></i>
                <span class="level-item">netstat</span>
            </a>
        </div>
        
        
        <div class="level-end">
            <a class="level level-item has-link-grey  article-nav-next" href="/2020/01/03/blog_back_new/linux/httpd%E6%9C%8D%E5%8A%A1/">
                <span class="level-item">httpd服务</span>
                <i class="level-item fas fa-chevron-right"></i>
            </a>
        </div>
        
    </div>
</div>



</div>
                




<div class="column is-4-tablet is-4-desktop is-3-widescreen  has-order-1 column-left ">
    
        
<div class="card widget">
    <div class="card-content">
        <nav class="level" style="margin-bottom:1rem">
            <div class="level-item has-text-centered">
                <div>
                    
                        <img class="image is-96x96 has-mb-6" src="https://www.gravatar.com/avatar/e0f4032c0f2d1068ffffbaf93c0bef52?s=96" alt="Xinyu Liu">
                    
                    
                    <p class="is-size-4 is-block">
                        Xinyu Liu
                    </p>
                    
                    
                    <p class="is-size-6 is-block">
                        Alpha Lxy
                    </p>
                    
                    
                    <p class="is-size-6 is-flex is-flex-center has-text-grey">
                        <i class="fas fa-map-marker-alt has-mr-7"></i>
                        <span>Beijing, China</span>
                    </p>
                    
                </div>
            </div>
        </nav>
        <nav class="level menu-list is-mobile" style="margin-bottom:1rem">
            <div class="level-item has-text-centered is-marginless">
                <a href="/archives/">
                    <p class="heading">
                        Posts
                    </p>
                    <p class="title has-text-weight-normal">
                        40
                    </p>
                </a>
            </div>
            <div class="level-item has-text-centered is-marginless">
                <a href="/categories/">
                    <p class="heading">
                        Categories
                    </p>
                    <p class="title has-text-weight-normal">
                        13
                    </p>
                </a>
            </div>
            <div class="level-item has-text-centered is-marginless">
                <a href="/tags/">
                    <p class="heading">
                        Tags
                    </p>
                    <p class="title has-text-weight-normal">
                        0
                    </p>
                </a>
            </div>
        </nav>
        <div class="level">
            <a class="level-item button is-link is-rounded" href="https://www.github.com/AlphaLxy" target="_blank">
                <i class="fab fa-github"></i>&nbsp;&nbsp;Follow</a>
        </div>
        
        
    </div>
</div>

    
        
<div class="card widget column-left is-sticky" id="toc">
    <div class="card-content">
        <div class="menu">
            <h3 class="menu-label">
                Catalogue
            </h3>
            <ul class="menu-list"><li>
        <a class="is-flex" href="#网络部署需求分析">
        <span class="has-mr-6">1</span>
        <span>网络部署需求分析</span>
        </a><ul class="menu-list"><li>
        <a class="is-flex" href="#自动生成汇聚端口配置">
        <span class="has-mr-6">1.1</span>
        <span>自动生成汇聚端口配置</span>
        </a></li><li>
        <a class="is-flex" href="#基础配置">
        <span class="has-mr-6">1.2</span>
        <span>*****基础配置</span>
        </a></li><li>
        <a class="is-flex" href="#二层环路检测配置">
        <span class="has-mr-6">1.3</span>
        <span>***二层环路检测配置</span>
        </a></li><li>
        <a class="is-flex" href="#走二层与走三层的关系">
        <span class="has-mr-6">1.4</span>
        <span>走二层与走三层的关系</span>
        </a><ul class="menu-list"><li>
        <a class="is-flex" href="#二层架构于三层架构的区别">
        <span class="has-mr-6">1.4.1</span>
        <span>二层架构于三层架构的区别</span>
        </a></li><li>
        <a class="is-flex" href="#举例">
        <span class="has-mr-6">1.4.2</span>
        <span>举例</span>
        </a></li></ul></li><li>
        <a class="is-flex" href="#福建厦门联通">
        <span class="has-mr-6">1.5</span>
        <span>福建厦门联通</span>
        </a></li><li>
        <a class="is-flex" href="#走二层">
        <span class="has-mr-6">1.6</span>
        <span>****走二层</span>
        </a><ul class="menu-list"><li>
        <a class="is-flex" href="#不走vlan1-指定vlan-2250">
        <span class="has-mr-6">1.6.1</span>
        <span>不走vlan1 指定vlan 2250</span>
        </a></li></ul></li><li>
        <a class="is-flex" href="#四川成都联通">
        <span class="has-mr-6">1.7</span>
        <span>四川成都联通</span>
        </a><ul class="menu-list"><li>
        <a class="is-flex" href="#走三层">
        <span class="has-mr-6">1.7.1</span>
        <span>*****走三层</span>
        </a></li></ul></li></ul></li></ul>
        </div>
    </div>
</div>


    
    
        <div class="column-right-shadow is-hidden-widescreen ">
        
        </div>
    
</div>

                
            </div>
        </div>
    </section>
    <footer class="footer">
    <div class="container">
        <div class="level">
            <div class="level-start has-text-centered-mobile">
                <a class="footer-logo is-block has-mb-6" href="/">
                
                    <img src="/images/logo.svg" alt="网络部署需求分析" height="28">
                
                </a>
                <p class="is-size-7">
                &copy; 2020 Alpaca&nbsp;
                Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> & <a
                        href="http://github.com/ppoffice/hexo-theme-icarus" target="_blank">Icarus</a>
                
                <br>
                <span id="busuanzi_container_site_uv">
                Visited by <span id="busuanzi_value_site_uv">0</span> users
                </span>
                
                </p>
            </div>
            <div class="level-end">
            
                <div class="field has-addons is-flex-center-mobile has-mt-5-mobile is-flex-wrap is-flex-middle">
                
                
                <p class="control">
                    <a class="button is-white is-large" target="_blank" title="CC BY-NC-SA 4.0" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
                        
                        <i class="fab fa-creative-commons"></i>&nbsp;<i class="fab fa-creative-commons-by"></i>&nbsp;<i class="fab fa-creative-commons-nc"></i>&nbsp;<i class="fab fa-creative-commons-sa"></i>&nbsp;
                        
                    </a>
                </p>
                
                <p class="control">
                    <a class="button is-white is-large" target="_blank" title="AlphaLxy GitHub" href="https://www.github.com/AlphaLxy">
                        
                        <i class="fab fa-github"></i>&nbsp;
                        
                    </a>
                </p>
                
                </div>
            
            </div>
        </div>
    </div>
</footer>

    <script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/moment@2.22.2/min/moment-with-locales.min.js"></script>
<script>moment.locale("en");</script>


    
    
    
    <script src="/js/animation.js"></script>
    

    
    
    
    <script src="https://cdn.jsdelivr.net/npm/lightgallery@1.6.8/dist/js/lightgallery.min.js" defer></script>
    <script src="https://cdn.jsdelivr.net/npm/justifiedGallery@3.7.0/dist/js/jquery.justifiedGallery.min.js" defer></script>
    <script src="/js/gallery.js" defer></script>
    

    
    

<div id="outdated">
    <h6>Your browser is out-of-date!</h6>
    <p>Update your browser to view this website correctly. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/" target="_blank" rel="noopener">Update
            my browser now </a></p>
    <p class="last"><a href="#" id="btnCloseUpdateBrowser" title="Close">&times;</a></p>
</div>
<script src="https://cdn.jsdelivr.net/npm/outdatedbrowser@1.1.5/outdatedbrowser/outdatedbrowser.min.js" defer></script>
<script>
    document.addEventListener("DOMContentLoaded", function () {
        outdatedBrowser({
            bgColor: '#f25648',
            color: '#ffffff',
            lowerThan: 'flex'
        });
    });
</script>


    
    
<script src="https://cdn.jsdelivr.net/npm/mathjax@2.7.5/unpacked/MathJax.js?config=TeX-MML-AM_CHTML" defer></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
    MathJax.Hub.Config({
        'HTML-CSS': {
            matchFontHeight: false
        },
        SVG: {
            matchFontHeight: false
        },
        CommonHTML: {
            matchFontHeight: false
        },
        tex2jax: {
            inlineMath: [
                ['$','$'],
                ['\\(','\\)']
            ]
        }
    });
});
</script>

    
    

<a id="back-to-top" title="Back to Top" href="javascript:;">
    <i class="fas fa-chevron-up"></i>
</a>
<script src="/js/back-to-top.js" defer></script>


    
    

    
    
    
    

    
    
    
    
    
    <script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.4/dist/clipboard.min.js" defer></script>
    <script src="/js/clipboard.js" defer></script>
    

    
    
    

    


<script src="/js/main.js" defer></script>

    
    <div class="searchbox ins-search">
    <div class="searchbox-container ins-search-container">
        <div class="searchbox-input-wrapper">
            <input type="text" class="searchbox-input ins-search-input" placeholder="Type something..." />
            <span class="searchbox-close ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
        </div>
        <div class="searchbox-result-wrapper ins-section-wrapper">
            <div class="ins-section-container"></div>
        </div>
    </div>
</div>
<script>
    (function (window) {
        var INSIGHT_CONFIG = {
            TRANSLATION: {
                POSTS: 'Posts',
                PAGES: 'Pages',
                CATEGORIES: 'Categories',
                TAGS: 'Tags',
                UNTITLED: '(Untitled)',
            },
            CONTENT_URL: '/content.json',
        };
        window.INSIGHT_CONFIG = INSIGHT_CONFIG;
    })(window);
</script>
<script src="/js/insight.js" defer></script>
<link rel="stylesheet" href="/css/search.css">
<link rel="stylesheet" href="/css/insight.css">
    
</body>
</html>